#ifndef BULLET_H_
#define BULLET_H_

#include "entity.h"

typedef entity* (*explosion_maker)(vec location);

entity *make_enemy_bullet(component renderer, vec location, vec velocity, explosion_maker em);
entity *make_player_bullet(component renderer, vec location, vec velocity, explosion_maker em);
entity *make_player_cycle_bullet(vec location, vec velocity, explosion_maker em);
entity *make_enemy_cycle_bullet(vec location, vec velocity, explosion_maker em);
entity *make_player_missile_bullet(vec location, vec velocity, explosion_maker em, int children);
entity *make_enemy_missile_bullet(vec location, vec velocity, explosion_maker em, int children);

#endif